* process.c (allocate_pty) [PTY_OPEN]: Set fd's FD_CLOEXEC flag.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Aug 2013 05:39:51 +0000 (22:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 21 Aug 2013 05:39:51 +0000 (22:39 -0700)
commit57c5937ff85bce49f9dc8f4c66851620416bdc07
treefe0b1f3a81b8dc588b4d50cccbe0ab6de5f065e5
parent2aac9a8a1331206b1cff980e9f2e473b42396cd7
* process.c (allocate_pty) [PTY_OPEN]: Set fd's FD_CLOEXEC flag.

We can't portably rely on PTY_OPEN doing that, even if
it calls posix_openpt with O_CLOEXEC.
src/ChangeLog
src/process.c